if __name__ == "__main__":
    s = input()
    b = set()
    for i in s:
        b.add(i)
    for j in b:
        print(j, end="")
